<template>
  <div class="page">
<!--    <van-notice-bar text="好友购买后可获得12.4元" :scrollable="false" left-icon="volume-o"/>-->
<!--    <div class="img">这里是图片</div>-->
    <div class="img">
      <img :src="ewm.extensionChart">
    </div>
    <div class="btn">
      <div class="info">
        <van-tag type="danger">{{ewm.url}}</van-tag>
      </div>
<!--      <van-button type="primary" size="large">立即分享</van-button>-->
    </div>
  </div>
</template>

<script>
import Goods from '@/components/Goods.vue'

export default {
  name: 'share',
  components: {
    Goods
  },
  data() {
    return {
      ewm:{},
    }
  },
  created() {
    this.getData()
  },
  methods: {
    getData() {
      this.ewm = this.$router.history.current.query.ewm;
    },
  }

}
</script>
<style scoped lang="stylus" rel="stylesheet/stylus">
@import '../style/mixin'
.btn
  padding 15px
.img
  width 90vw
  left 5vw
  border 1px solid #ccc
  margin-left 5vw
  margin-top 15px
  text-align center
  height 70vh
.info
  text-align center
  line-height 40px
</style>
